package com.atguigu.dao;

import com.atguigu.pojo.Setmeal;
import com.atguigu.vo.SetmealNameVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelSetmealDao {
    Page<Setmeal> selectPage(@Param("queryString") String queryString);

    void setmealAdd(Setmeal setmeal);

    void setmealAndGroupAdd(@Param("setmealId") Integer id, @Param("groupId") Integer groupId);

    List<Setmeal> selectAll();

    Setmeal findById(@Param("id") Integer id);

    List<Integer> selectSetmealIdAndGroup(@Param("id") Integer id);

    List<SetmealNameVo> findSetmealAndOrder();
}
